Small patch to not call scrub_heap_pages() when running on Medusa.
Can't use the running_on_sim flag for this as that flag impacts too
many other things that make it fail for us.
Signed-off-by: Jes Sorensen <jes@sgi.com>
#include <xen/softirq.h>
#include <xen/rcupdate.h>
#include <acm/acm_hooks.h>
+#include <asm/sn/simulator.h>
unsigned long xenheap_phys_end, total_pages;
0) != 0)
panic("Could not set up DOM0 guest OS\n");
- if (!running_on_sim) // slow on ski and pages are pre-initialized to zero
+ if (!running_on_sim && !IS_MEDUSA()) // slow on ski and pages are pre-initialized to zero
scrub_heap_pages();
init_trace_bufs();